package com.example.javadesign.factory.abstractfactory;

/**
 * @author 陳樂
 * @version 1.0.0
 * @ClassName JavaCourseFactory.java
 * @Description TODO
 * @createTime 2022年08月13日 23:57:00
 */
public class JavaCourseFactory extends CourseFactory{
    @Override
    protected INote createNote() {
        super.init();
        return new JavaNode();
    }

    @Override
    protected IVideo createVideo() {
        super.init();
        return new JavaVideo();
    }
}
